package com.stek.base;

import android.graphics.drawable.ColorDrawable;
import android.os.Bundle;

import com.stek.OneTouchApplication;
import com.stek.R;

public class BaseActivity extends AdmodActivity {


	@Override
	protected void onCreate(Bundle savedInstanceState) {
		((OneTouchApplication) getApplication()).getGATracking()
				.sendScreenView(getClass());
		super.onCreate(savedInstanceState);
		initActionBar();
	}

	protected void initActionBar() {
		getSupportActionBar().setDisplayHomeAsUpEnabled(true);
		getSupportActionBar().setDisplayShowHomeEnabled(true);
		getSupportActionBar().setBackgroundDrawable(
				new ColorDrawable(getResources().getColor(R.color.blue)));

	}

}
